package com.example.rent.service;

import com.example.rent.entity.House;
import com.example.rent.entity.Houseowner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.rent.entity.Meeting;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wanted
 * @since 2021-12-02
 */

public interface HouseownerService extends IService<Houseowner> {
    List<House> showMyHouse(long id);

    int changePwd(long id,String pwd);

    int updateMyInfo(long id,String myName,String address,String freetime);

    List<Meeting> getMessage(long id);

    String getHouseAddress(int houseid);

    int updateHouseState(String address,int state);

    int getHouseId(String address);

    int insertMyHouseInfo(long id,int type,int livenum,float rent,String address,int state);

    int insertRepair(int houseid,String description);

    int deleteThisHouse(long id,String address,int livenum);
}
